Optimal. Leaf size=25 \[ -\frac {2 F\left (\sin ^{-1}\left (\frac {\sqrt {6-x}}{2}\right )|\frac {4}{5}\right )}{\sqrt {5}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {732, 430}
\begin {gather*} -\frac {2 F\left (\text {ArcSin}\left (\frac {\sqrt {6-x}}{2}\right )|\frac {4}{5}\right )}{\sqrt {5}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 430
Rule 732
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {-1+x} \sqrt {-12+8 x-x^2}} \, dx &=-\frac {2 \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1-\frac {4 x^2}{5}}} \, dx,x,\frac {\sqrt {12-2 x}}{2 \sqrt {2}}\right )}{\sqrt {5}}\\ &=-\frac {2 F\left (\sin ^{-1}\left (\frac {\sqrt {6-x}}{2}\right )|\frac {4}{5}\right )}{\sqrt {5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(68\) vs. \(2(25)=50\).
time = 30.07, size = 68, normalized size = 2.72 \begin {gather*} -\frac {2 \sqrt {\frac {-6+x}{-1+x}} \sqrt {\frac {-2+x}{-1+x}} (-1+x) F\left (\sin ^{-1}\left (\frac {\sqrt {5}}{\sqrt {-1+x}}\right )|\frac {1}{5}\right )}{\sqrt {5} \sqrt {-12+8 x-x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(49\) vs.
\(2(20)=40\).
time = 0.13, size = 50, normalized size = 2.00
method | result | size |
default | \(-\frac {2 \EllipticF \left (\sqrt {-1+x}, \frac {\sqrt {5}}{5}\right ) \sqrt {2-x}\, \sqrt {30-5 x}\, \sqrt {-x^{2}+8 x -12}}{5 \left (x^{2}-8 x +12\right )}\) | \(50\) |
elliptic | \(\frac {2 \sqrt {-\left (-1+x \right ) \left (x^{2}-8 x +12\right )}\, \sqrt {30-5 x}\, \sqrt {2-x}\, \EllipticF \left (\sqrt {-1+x}, \frac {\sqrt {5}}{5}\right )}{5 \sqrt {-x^{2}+8 x -12}\, \sqrt {-x^{3}+9 x^{2}-20 x +12}}\) | \(72\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- \left (x - 6\right ) \left (x - 2\right )} \sqrt {x - 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {1}{\sqrt {x-1}\,\sqrt {-x^2+8\,x-12}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________